git sparse-checkout
#Fleeting_Notes
git sparse-checkout(git sparse-checkout)
$ git sparse-checkout <subcommand> options
$ git sparse-checkout set DIR1 DIR2
$ git clone --filter=blob:none --no-checkout https://github.com/pogin503/ghworkspace/
--filter=blob:none: ファイルの中身(blob)ダウンロードせずにcloneする
--no-checkout: cloneの際にファイルの配置をしないようにする
$ cd ghworkspace
$ git sparse-checkout set language/alloy
$ git checkout
確認用
Q. git sparse-checkout
Git - git-sparse-checkout Documentation
調査用
Google.icon git sparse-checkout(日)
Google.icon Git sparse-checkout(英)